<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
	<head th:replace="admin/_fragments :: head(~{::title})">
	    <meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>后台首页</title>
		<link rel="stylesheet" href="../../static/css/bootstrap.min.css" />
	</head>
	<body>
	<!--导航栏-->
	<div  th:replace="admin/_fragments :: nav">
		<nav class="navbar navbar-inverse navbar-static-top" role="navagation">
			<div class="container">
				<!-- logo -->
				<div class="navbar-header">
					<a href="#" class="navbar-brand">管理后台</a>
				</div>
				<div id="navbar" class="collapse navbar-collapse">
					<ul class="nav navbar-nav">
						<li ><a href="#" ><i class="glyphicon glyphicon-th"></i>&nbsp;角色管理</a></li>
					</ul>
				</div>
			</div>
		</nav>
	</div>

	<!-- 中间内容-->
	<div style="padding-top: 3.125rem ; margin-bottom: 1.25rem;">
		<div class="container">
			<div class="bg-success text-center" style="height: 80px;padding-top: 20px">
				<p>欢迎回来<span th:text="${session.admin.username}"></span>,
					您上次登录的ip是:<span th:text="${session.admin.lastIp}"></span>,
					上次登录 时间是:<span th:text="${#dates.format(session.admin.lastLoginTime, 'yyyy-MM-dd HH:mm:ss')}"></span></p>
			</div>
		</div>
	</div>
	<!--/*/<th:block th:replace="admin/_fragments :: script">/*/-->
	<script type="text/javascript" src="../static/jquery/jquery-3.4.1.min.js"></script>
	<script type="text/javascript" src="../static/js/bootstrap.min.js"></script>
	<!--/*/</th:block>/*/-->
	</body>
</html>
